<style lang="scss" scoped>

</style>

<template>
  <el-input v-if="ads" style="width: 100%" readonly :model-value="ads">
    <template #append>
      <img style="width: 20px;cursor: pointer;" @click="jump" src="@/assets/layout/link.png" alt="">
    </template>
  </el-input>
</template>

<script setup>
const props = defineProps({
  ads: {
    type: String,
    default: ''
  }
})
const jump = () => {
  window.open(props.ads)
}
</script>